package com.xuecheng.content.entity.ex;

import com.xuecheng.api.content.model.dto.TeachplanMediaDTO;
import com.xuecheng.content.entity.Teachplan;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created on 2021/03/31/11:07 周三
 *
 * @author Lantin
 */
@Data
public class TeachplanNode extends Teachplan {

    /**
     * 子节点数据集合，课程计划为3级
     * 为方便树形结构数据的返回，定义子节点的集合属性
     */
    List<TeachplanNode> childrenTreeNodes;

    @ApiModelProperty(value = "课程媒资信息")
    private TeachplanMediaDTO teachplanMedia;
}
